package com.googlecode.dummywarhead.volatilepenalty;

public final class SynchronizedCounter implements Counter{

	long cnt;

	@Override
	public synchronized void hit() {
		cnt ++;
	}

	@Override
	public synchronized long get() {
		return cnt;
	}
	
}
